﻿using SqlSugar;
using StudyCompanion.Core.Models;

namespace StudyCompanion.Entity.System;

/// <summary>
///     充值卡
/// </summary>
[SugarTable("sys_charge_card")]
public class ChargeCard : BaseEntity
{
    /// <summary>
    ///     名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     月份
    /// </summary>
    public int Months { get; set; }

    /// <summary>
    ///     价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    ///     返利
    /// </summary>
    public decimal Rebate { get; set; }
    
    /// <summary>
    ///     是否有效
    /// </summary>
    public bool IsValid { get; set; }
    
    /// <summary>
    ///     排序
    /// </summary>
    public int Sort { get; set; }
}